package org.elanfox.intellicommunity.msg.server.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/3/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WriteResult implements Serializable {
    private static final long serialVersionUID = -4923478294925137150L;
    /**
     * 是否成功
     */
    private boolean success;
    private String msg;

    public WriteResult(boolean success) {
        this.success = success;
    }
}
